package com.briup.day31;
/**
 * 多线程模拟火车窗口售票,三个窗口同时售票，100张
 * */
public class WindowTest {
	
	public static void main(String[] args) {
		Thread win1 = new WindowThread();
		Thread win2 = new WindowThread();
		Thread win3 = new WindowThread();
		
		win1.setName("一号窗口");
		win2.setName("二号窗口");
		win3.setName("三号窗口");
		
		win1.start();
		win2.start();
		win3.start();
		
	}
	

}
